package com.qfoud.edu.aunt.commons.dao;

import com.qfoud.edu.aunt.commons.pojo.Menu;

import java.util.List;

/**
 * @author xiaobobo
 * @title: IMenuDAO
 * @projectName cd-java-2303-project-parent
 * @description: TODO
 * @date 2023/5/16  10:32
 */
public interface IMenuDAO {


    /**
     * 通过id找权限
     * @param userId
     * @return
     */
    List<Menu> findPermsByUserId(Integer userId) throws Exception;

}
